﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="shortcut icon" href="../Assets/favicon.com" type="image/x-icon">
    <link href="../Styles/Style.css" rel="stylesheet" />
    <link href="../Styles/bootstrapTheme.css" rel="stylesheet" />
    <link href="../Styles/custom.css" rel="stylesheet" />
    <link href="../Styles/owl.carousel.css" rel="stylesheet" />
    <link href="../Styles/owl.theme.css" rel="stylesheet" />
    <link href="../Styles/prettify.css" rel="stylesheet" />
    <title>TorfWood :: Gallery</title>
</head>
<body>
    

        <div id="top-nav" class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container">
                    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <div class="nav-collapse collapse">
                        <ul class="nav pull-right">
                            <li><a href="../index.html"><i class="icon-chevron-left"></i> Back to Frontpage</a></li>
                            <li><a href="../owl.carousel.zip" class="download download-on" data-spy="affix" data-offset-top="450">Download</a></li>
                        </ul>
                        <ul class="nav pull-left"></ul>
                    </div>
                </div>
            </div>
        </div>

        <div id="title">
            <div class="container">
                <div class="row">
                    <div class="span12">
                        <h1>Lazy Load</h1>
                    </div>
                </div>
            </div>
        </div>
    <style>#owl-demo .item{
  margin: 3px;
}
#owl-demo .item img{
  display: block;
  width: 100%;
  height: auto;
}</style>
        <div id="demo">
            <div class="container">
                <div class="row">
                    <div class="span12">
                        
                        <div id="owl-demo" class="owl-carousel">
                            <div class="item"><img class="lazyOwl" data-src="../Assets/1.jpg" alt="Lazy Owl Image" style="display: block"></div>
                            <div class="item"><img class="lazyOwl" src="../Assets/2.JPG" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" src="../Assets/3.JPG" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="../Assets/4.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="../Assets/5.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="../Assets/6.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/7.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/8.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/9.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/9.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/10.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/11.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/12.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/13.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/14.jpg" alt="Lazy Owl Image"></div>
                            <div class="item"><img class="lazyOwl" data-src="assets/15.jpg" alt="Lazy Owl Image"></div>
                        </div>

                    </div>
                </div>
            </div>

        </div>

        <div id="example-info">
            <div class="container">
                <div class="row">
                    <div class="span12">
                        <h1>Setup</h1>
                        <p>
                            Delays loading of images. Images outside of viewport wont be loaded before user scrolls to them. Great for mobile devices to speed up page loadings.
                        </p>
                        <p>
                            Img need special class <code>class="lazyOwl"</code> and path to image in <code>data-src=""</code>:
                            <blockquote><code>&lt;img class="lazyOwl" data-src="path-to-your-image"&gt;</code></blockquote>
                        </p>
                        <ul class="nav nav-tabs" id="myTab">
                            <li class="active"><a href="#javascript">Javascript</a></li>
                            <li><a href="#HTML">HTML</a></li>
                            <li><a href="#CSS">CSS</a></li>
                        </ul>

                        <div class="tab-content">

                            <div class="tab-pane active" id="javascript">
<pre class="pre-show prettyprint linenums">
$(document).ready(function() {
  $("#owl-demo").owlCarousel({
    items : 4,
    lazyLoad : true,
    navigation : true
  }); 
});
</pre>
                            </div>

                            <div class="tab-pane" id="HTML">
<pre class="pre-show prettyprint linenums">
&lt;div id="owl-demo" class="owl-carousel"&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl1.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl2.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl3.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl4.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl5.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl6.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl7.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl8.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl1.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl2.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl3.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl4.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl5.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl6.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl7.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
  &lt;div class="item"&gt;&lt;img class="lazyOwl" data-src="assets/owl8.jpg" alt="Lazy Owl Image"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
                            </div>

                            <div class="tab-pane" id="CSS">
<pre class="pre-show prettyprint linenums">
#owl-demo .item{
  margin: 3px;
}
#owl-demo .item img{
  display: block;
  width: 100%;
  height: auto;
}
</pre>
                            </div>
                        </div><!--End Tab Content-->

                    </div>
                </div>
            </div>
        </div>

        <div id="more">
            <div class="container">

                <div class="row">
                    <div class="span12">
                        <h1>More Demos</h1>
                    </div>
                </div>

                <div class="row demos-row">
                    <div class="span3">
                        <a href="images.html" class="demo-box">
                            <div class="demo-wrapper demo-images clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>Images</h3>
                        </a>
                    </div>

                    <div class="span3">
                        <a href="custom.html" class="demo-box">
                            <div class="demo-wrapper demo-custom clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>Custom</h3>
                        </a>
                    </div>

                    <div class="span3">
                        <a href="itemsCustom.html" class="demo-box">
                            <div class="demo-wrapper demo-full clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>Custom 2</h3>
                        </a>
                    </div>

                    <div class="span3">
                        <a href="one.html" class="demo-box">
                            <div class="demo-wrapper demo-one clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>One Slide</h3>
                        </a>
                    </div>

                </div>
                <div class="row demos-row">
                    <div class="span3">
                        <a href="json.html" class="demo-box">
                            <div class="demo-wrapper demo-Json clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>JSON</h3>
                        </a>
                    </div>

                    <div class="span3">
                        <a href="customJson.html" class="demo-box">
                            <div class="demo-wrapper demo-Json-custom clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>JSON Custom</h3>
                        </a>
                    </div>

                    <div class="span3">
                        <a href="lazyLoad.html" class="demo-box">
                            <div class="demo-wrapper demo-lazy clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>Lazy Load</h3>
                        </a>
                    </div>

                    <div class="span3">
                        <a href="autoHeight.html" class="demo-box">
                            <div class="demo-wrapper demo-height clearfix">
                                <div class="demo-slide"><div class="bg"></div></div>
                            </div>
                            <h3>Auto Height</h3>
                        </a>
                    </div>

                </div>
            </div>
        </div>

        <div id="footer">
            <div class="container">
                <div class="row">
                    <div class="span12">
                        <h5>
                            Bartosz Wojciechowski 2013 / @OwlFonk /
                            <a href="mailto:owl@owlgraphic.com?subject=Hey Owl!">email</a> /
                            <a href="../changelog.html">changelog</a> /
                            <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EFSGXZS7V2U9N">donate</a> /
                            <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://owlgraphic.com/owlcarousel/" data-text="Awesome jQuery Owl Carousel Responsive Plugin" data-via="OwlFonk" data-count="none" data-hashtags="owlcarousel"></a>
                            <script>
                                var owldomain = window.location.hostname.indexOf("owlgraphic");
                                if (owldomain !== -1) {
                                    !function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + '://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js, fjs); } }(document, 'script', 'twitter-wjs');
                                }
                            </script>
                        </h5>
                    </div>
                </div>
            </div>
        </div>


        <style>
            #owl-demo .item {
                margin: 3px;
            }

                #owl-demo .item img {
                    display: block;
                    width: 100%;
                    height: auto;
                }
        </style>

        <script>
            $(document).ready(function () {

                $("#owl-demo").owlCarousel({
                    items: 4,
                    lazyLoad: true,
                    navigation: true
                });

            });
        </script>
        <script src="../Scripts/application.js"></script>
        <script src="../Scripts/bootstrap-collapse.js"></script>
        <script src="../Scripts/bootstrap-tab.js"></script>
        <script src="../Scripts/bootstrap-transition.js"></script>
        <script src="../Scripts/jquery-1.9.1.min.js"></script>
        <script src="../Scripts/prettify.js"></script>
        <script src="../Scripts/owl.carousel.js"></script>
    </body>
</html>
